package cn.zhaozhiqi.service.impl;

import cn.zhaozhiqi.mapper.DriverPointMapper;
import cn.zhaozhiqi.pojo.domain.DriverPoint;
import cn.zhaozhiqi.service.IDriverPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DriverPointServiceImpl implements IDriverPointService {
    @Autowired
    private DriverPointMapper driverPointMapper;
    @Override
    public void save(DriverPoint point) {
        driverPointMapper.save(point);
    }

    @Override
    public List<DriverPoint> selectByOrderNo(String orderNo) {
        return driverPointMapper.selectByOrderNo(orderNo);
    }
}
